package com.github.elliot.usercenter.po;

import lombok.Data;
import lombok.experimental.Accessors;
import org.springframework.data.annotation.Id;
import org.springframework.data.relational.core.mapping.Table;

import java.time.LocalDateTime;

@Accessors(chain = true)
@Data
@Table
public class User {

    @Id
    private int id;

    private String userNo;

    private String username;

    private String mobile;

    private String email;

    private String passwordHash;

    private Integer status;

    private LocalDateTime lastLoginTime;

    private String creator;

    private String modifier;

    private LocalDateTime createTime;

    private LocalDateTime updateTime;

    private Integer delFlag;
}
